package com.bolt.core.view.components;

import java.util.ArrayList;
import java.util.List;



public class FieldSet extends GroupFormItem {


	private static final String OPEN_TEMPLATE = "fieldset";

	private static final String CLOSE_TEMPLATE = "close_fieldset";


    @Override
    protected String getDefaultTemplate() {
        return CLOSE_TEMPLATE;
    }

    @Override
    protected String getDefaultOpenTemplate() {return OPEN_TEMPLATE;}


	private List<List<FormItem>> group = new ArrayList<List<FormItem>>();

	private int column = 1;


	private String title;

	public String getTitle() {
		return title;
	}



	public void setTitle(String title) {
		this.title = title;
	}



	@Override
    public List<List<FormItem>> getGroup() {
		return group;
	}

	public void setGroup(List<List<FormItem>> group) {
		this.group = group;
	}

	@Override
    public int getColumn() {
		return column;
	}

	@Override
    public void setColumn(int column) {
		this.column = column;
	}



}
